home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
076-100
/
disk_086
/
cmd
/
cmd.doc
< prev
next >
Wrap
Text File
|
1992-05-06
|
3KB
|
64 lines
TITLE: Cmd.uu v3 (exec. and icon) - Redirects serial or parallel to file
For those of you who have asked for the ability to capture printer
output in a file...
What follows are two uuencoded files for my Cmd.info and Cmd.
Cmd redirects serial.device or parallel.device output to a file.
This allows you to capture the printer output of many applications
(including screen dumps) in a file.
CLI Usage: [run] Cmd [-s] [-m] [-n] parallel|serial filename
(or Cmd ? for help)
Example: run Cmd -m -n parallel ram:pfile
To end a multiple (-m) Cmd, CTRL-C, or use BREAK if run
Workbench: Just double click. All args specified in .info ToolTypes.
Workbench defaults:
DEVICE=parallel
FILE=ram:CMD_file
SKIP=FALSE
MULTIPLE=FALSE
NOTIFY=FALSE
To end a MULTIPLE Cmd, double-click CMD again
Options (CLI or Workbench ToolTypes):
-s (ToolTypes: SKIP=TRUE)
If the -s (SKIP) option is specified, Cmd will ignore an initial
short (less than 8 bytes) write to the device and not save that
write in the file. This option is useful when capturing a
screen dump because most of our drivers currently send a Reset
string to the printer before the dump. The driver then delays
so that subsequent data sent is not lost. When the dump is
captured in a file, this programmatic delay is lost and the
following bytes are endangered by the reset. In most cases,
this option should prevent the Reset string from being stored
in the Cmd file. You should be able to copy the resulting file
directly to PAR: (or SER:) for a quick dump.
-m (Tooltypes: MULTIPLE=TRUE)
If the -m (MULTIPLE) option is not specified, the file is closed
and the redirection removed when the device is closed by the
application. With the -m option, Cmd remains installed and
opens a new file (with .n extension) each time the device is
opened.
-n (Tooltypes: NOTIFY=TRUE)
The -n (NOTIFY) option causes output of progress messages about
the redirection. I like noisy utilities but many others don't,
so it's an option.
Cmd - Copyright (c) 1987 Commodore Business Machines - All Rights Reserved
This program may be freely non-commercially redistributed.
Only warranty is works fine for me --- Carolyn Scheppner
This icon already has some default Tooltypes set up. Executable follows.